/*
 *  Copyright (c) Skrumtious
 */
package com.skrumtious.backend.persistence;

import java.io.Serializable;

/**
 * An item in skrum.
 * 
 * @author Tony
 *
 */
public class SkrumItem extends PersistenceObject implements Serializable {

	/**
	 * SUID
	 */
	private static final long serialVersionUID = 2095942516997953144L;
	
	/**
	 * Active
	 */
	private boolean isActive;
	
	/**
	 * Order
	 */
	private int order;
	
	/**
	 * Text
	 */
	private String text;

	/**
	 * @param creationTime
	 * @param isActive
	 * @param order
	 * @param text
	 */
	public SkrumItem(boolean isActive, int order,
			String text) {
		super();
		this.isActive = isActive;
		this.order = order;
		this.text = text;
	}

	/**
	 */
	public SkrumItem() {
		super();
	}

	/**
	 * @return the isActive
	 */
	public boolean isActive() {
		return isActive;
	}

	/**
	 * @param isActive the isActive to set
	 */
	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}

	/**
	 * @return the order
	 */
	public int getOrder() {
		return order;
	}

	/**
	 * @param order the order to set
	 */
	public void setOrder(int order) {
		this.order = order;
	}

	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}

	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}		
}
